package com.xbongbong.pro.customer.pojo.dto;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/4/22 21:10
 * @since v1.0
 */
@Getter
@Setter
public class CustomerCardDTO extends BaseDTO {
    private Integer customerType;
    private String address;
    private String company;
    private String name;
    private JSONArray phone;
    private String position;
    private String website;
    private Long formId;

//    public void setPhone(String phoneStr) {
//        try {
//            this.phone = JSONArray.parseArray(phoneStr);
//        }catch (Exception e){
//            this.phone = new JSONArray();
//        }
//    }
}
